<div style="width:850px;margin:7px;">
    <button onclick="clert_error()">清除</button>
    <?php 
echo $html;?></div>
<script>
function clert_error(){
    sys.post('admin/view/clert_errorlog',{},function(){
        alert('已经清除所有错误记录');
        location.reload();
    });
}
</script>